package com.astronomia.wheels.design_pattern.strategy_model;

import java.io.Serializable;
import java.util.Date;

public class ChangeDto implements Serializable {

    private String info;

    private String name;

    private Integer type;

    private Date date;

    public ChangeDto(String info, String name, Integer type, Date date) {
        this.info = info;
        this.name = name;
        this.type = type;
        this.date = date;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "ChangeDto{" +
                "info='" + info + '\'' +
                ", name='" + name + '\'' +
                ", type=" + type +
                ", date=" + date +
                '}';
    }

    public ChangeDto() {
    }
}
